package gameoflife.view;

import gameoflife.GameOfLife;

public class GameOfLifeConsole {

	public static void main(String[] args) throws InterruptedException {
		GameOfLife game = new GameOfLife(10, 10);
		game.setLive(0, 0);
		game.setLive(1, 1);
		game.setLive(2, 1);
		game.setLive(1, 2);
		game.setLive(2, 0);
		for (int i = 0; i < 10; i++) {
			System.out.println(game.toString());
			game.tick();
			Thread.sleep(500);
		}
	}
}
